From 87e20419787ac7e2f33bc849a842a37d26502c9c Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 5 Feb 2024 23:03:09 -0800
Subject: feat(badges): import events

---
 src/routes/user/[user]/badges/+page.svelte | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

(limited to 'src/routes/user/[user]/badges/+page.svelte')

diff --git a/src/routes/user/[user]/badges/+page.svelte b/src/routes/user/[user]/badges/+page.svelte
index f961da78..14df88be 100644
--- a/src/routes/user/[user]/badges/+page.svelte
+++ b/src/routes/user/[user]/badges/+page.svelte
@@ -758,7 +758,11 @@
 		<details>
 			<summary>{$locale().user.badges.importMode.dangerous}</summary>
 
-			<button class="button-lined no-shadow" on:click={removeAllBadges}>
+			<button
+				class="button-lined no-shadow"
+				data-umami-event="Remove All Badges"
+				on:click={removeAllBadges}
+			>
 				{$locale({
 					values: {
 						times: 3 - confirmPrune
@@ -778,7 +782,11 @@
 					count: importImages.length
 				}
 			}).user.badges.importMode.importConfirm}&nbsp;
-			<button on:click={() => importBadges()} class="button-lined no-shadow">
+			<button
+				on:click={() => importBadges()}
+				class="button-lined no-shadow"
+				data-umami-event="Import Badges"
+			>
 				{$locale().user.badges.importMode.import}
 			</button>
 
-- 
cgit v1.2.3

